.problem-list {
  width: 100%;
}

.problem-list-item {
  padding: 0 !important;
  border: none !important;
  margin-bottom: 8px;
}

.problem-list-item .ant-card {
  transition: all 0.2s ease;
  border: 1px solid #f0f0f0;
}

.problem-list-item .ant-card:hover {
  border-color: #1890ff;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.15);
}

.problem-list .ant-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.problem-list .ant-list-item {
  border: none !important;
  padding: 0 !important;
}

/* 严重程度标签颜色 */
.problem-list .ant-tag.severity-high {
  background: #fff1f0;
  border-color: #ffa39e;
  color: #cf1322;
}

.problem-list .ant-tag.severity-medium {
  background: #fffbe6;
  border-color: #ffe58f;
  color: #d48806;
}

.problem-list .ant-tag.severity-low {
  background: #e6f7ff;
  border-color: #91d5ff;
  color: #0958d9;
}

.problem-list .ant-tag.severity-info {
  background: #f6ffed;
  border-color: #b7eb8f;
  color: #389e0d;
}

/* 分类图标样式 */
.problem-list .category-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* 建议框样式 */
.problem-list .suggestion-box {
  padding: 6px 8px;
  background: #f0f9ff;
  border-radius: 4px;
  border-left: 3px solid #1890ff;
  margin-top: 8px;
}

.problem-list .suggestion-box .anticon {
  margin-right: 4px;
  color: #1890ff;
}

/* 位置标签样式 */
.problem-list .location-tag {
  cursor: pointer;
  transition: all 0.2s ease;
}

.problem-list .location-tag:hover {
  background: #e6f7ff;
  border-color: #91d5ff;
}

/* 过滤器样式 */
.problem-list .filter-card {
  margin-bottom: 16px;
  background: #fafafa;
}

.problem-list .filter-card .ant-card-body {
  padding: 12px 16px;
}

/* 统计信息样式 */
.problem-list .statistics-bar {
  margin-bottom: 16px;
  padding: 8px 12px;
  background: #fafafa;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.problem-list .statistics-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .problem-list-item .ant-card-body {
    padding: 8px 12px;
  }
  
  .problem-list .ant-avatar {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .problem-list .filter-card .ant-row {
    row-gap: 8px;
  }
  
  .problem-list .statistics-bar {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* 加载状态 */
.problem-list .loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

/* 空状态样式 */
.problem-list .empty-container {
  text-align: center;
  padding: 40px 20px;
}

.problem-list .empty-container .anticon {
  font-size: 48px;
  margin-bottom: 16px;
}

/* 置信度标签 */
.problem-list .confidence-tag {
  font-weight: 500;
  font-size: 11px;
}

/* 分析来源标签 */
.problem-list .source-tag {
  font-size: 11px;
  font-weight: 500;
}

.problem-list .source-tag.rule {
  background: #e6f7ff;
  border-color: #91d5ff;
  color: #0958d9;
}

.problem-list .source-tag.llm {
  background: #f9f0ff;
  border-color: #d3adf7;
  color: #722ed1;
}